using System;
using RgCore.Modules;

namespace CustomItem
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class ItemInfoAttribute : Attribute, IName
    {
        public ItemInfoAttribute(string name, ItemType item)
        {
            Name = name;
            Item = item;
        }

        public string Name { get; }
        public ItemType Item { get; }
        public float WeightMultiplier { get; set; } = 1f;
    }
}